.PHONY:all
all:TcpServer TcpClient

Flag=#-DMySelf=1
Lib=-ljsoncpp

TcpServer:TcpServer.cc
	g++ -o $@ $^ -std=c++11  $(Lib) $(Flag)
TcpClient:TcpClient.cc
	g++ -o $@ $^ -std=c++11   $(Lib) $(Flag)

.PHONY:clean
clean:
	rm -rf TcpClient TcpServer